package one.stand.service;


import one.stand.model.ResultModel;
import one.stand.request.essay.MyTaskDetailQuery;
import one.stand.request.essay.MyTaskQuery;
import one.stand.request.essay.UpdateMyTaskFrom;
import one.stand.response.essay.MyTaskResponse;

import java.util.List;

/**
 * <p>
 * 任务员工 服务类
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
public interface ITaskStaffService   {

    ResultModel<Boolean> updateMyTaskState(UpdateMyTaskFrom request);

    ResultModel<List<MyTaskResponse>> queryMyTask(MyTaskQuery request);

    /**
     * 查询我的任务详情
     * @param request
     * @return
     */
    ResultModel<MyTaskResponse> queryMyTaskDetail(MyTaskDetailQuery request);

    ResultModel<Boolean> updateMyPubTaskState(UpdateMyTaskFrom request);
}
